local rows = 
{
    {id = 1, nums = {1}, class = 'scibo.X_Y', number = {x = 1, y = 1}, payout = 100},
    {id = 2, nums = {2}, class = 'scibo.X_Y', number = {x = 1, y = 2}, payout = 100},
    {id = 3, nums = {3}, class = 'scibo.X_Y', number = {x = 1, y = 3}, payout = 100},
    {id = 4, nums = {4}, class = 'scibo.X_Y', number = {x = 1, y = 4}, payout = 100},
    {id = 5, nums = {5}, class = 'scibo.X_Y', number = {x = 1, y = 5}, payout = 100},
    {id = 6, nums = {6}, class = 'scibo.X_Y', number = {x = 1, y = 6}, payout = 100},

    {id = 7, nums = {7}, class = 'scibo.Sum', number = 4, payout = 3000},
    {id = 8, nums = {8}, class = 'scibo.Sum', number = 5, payout = 2000},
    {id = 9, nums = {9}, class = 'scibo.Sum', number = 6, payout = 1200},
    {id = 10, nums = {10}, class = 'scibo.Sum', number = 7, payout = 100},
    {id = 11, nums = {11}, class = 'scibo.Sum', number = 8, payout = 100},
    {id = 12, nums = {12}, class = 'scibo.Sum', number = 9, payout = 100},
    {id = 13, nums = {13}, class = 'scibo.Sum', number = 10, payout = 100},
    {id = 14, nums = {14}, class = 'scibo.Sum', number = 11, payout = 100},
    {id = 15, nums = {15}, class = 'scibo.Sum', number = 12, payout = 100},
    {id = 16, nums = {16}, class = 'scibo.Sum', number = 13, payout = 100},
    {id = 17, nums = {17}, class = 'scibo.Sum', number = 14, payout = 100},
    {id = 18, nums = {18}, class = 'scibo.Sum', number = 15, payout = 100},
    {id = 19, nums = {19}, class = 'scibo.Sum', number = 16, payout = 100},
    {id = 20, nums = {20}, class = 'scibo.Sum', number = 17, payout = 100},

    {id = 21, nums = {21}, class = 'scibo.SumInMap', number = {4, 5, 6, 7, 8, 9, 10}, payout = 100},
    {id = 22, nums = {22}, class = 'scibo.SumInMap', number = {11, 12, 13, 14, 15, 16, 17}, payout = 100},

    {id = 23, nums = {23}, class = 'scibo.X_Y', number = {x = 2, y = 1}, payout = 100},
    {id = 24, nums = {24}, class = 'scibo.X_Y', number = {x = 2, y = 2}, payout = 100},
    {id = 25, nums = {25}, class = 'scibo.X_Y', number = {x = 2, y = 3}, payout = 100},
    {id = 26, nums = {26}, class = 'scibo.X_Y', number = {x = 2, y = 4}, payout = 100},
    {id = 27, nums = {27}, class = 'scibo.X_Y', number = {x = 2, y = 5}, payout = 100},
    {id = 28, nums = {28}, class = 'scibo.X_Y', number = {x = 2, y = 6}, payout = 100},

    {id = 29, nums = {29}, class = 'scibo.X_Y', number = {x = 3, y = 1}, payout = 100},
    {id = 30, nums = {30}, class = 'scibo.X_Y', number = {x = 3, y = 2}, payout = 100},
    {id = 31, nums = {31}, class = 'scibo.X_Y', number = {x = 3, y = 3}, payout = 100},
    {id = 32, nums = {32}, class = 'scibo.X_Y', number = {x = 3, y = 4}, payout = 100},
    {id = 33, nums = {33}, class = 'scibo.X_Y', number = {x = 3, y = 5}, payout = 100},
    {id = 34, nums = {34}, class = 'scibo.X_Y', number = {x = 3, y = 6}, payout = 100},

    {id = 35, nums = {35}, class = 'scibo.Bomb', number = nil, payout = 3000},
}

local map = {}

for _, row in ipairs(rows) do
    map[row.id] = row
end

local M = {}

function M.get_by_id(id)
    return map[id]
end

M.rows = rows
M.map = map

return M